<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:directive.page import="com.kylin.common.dict.ISelectOption"/>
<%@ include file="/common/include/taglibs.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ include file="/common/include/pageExpires.jsp"%>

<script language="javascript" type="text/javascript">
	function submitform1(){
		//document.adminForm.task.value=pressbutton;
		try {
			document.adminForm1.onsubmit();
			}
		catch(e){}
		document.adminForm1.submit();
	}
	
	
	function submitbutton1(pressbutton) {
		var form = document.adminForm1;
		if (pressbutton == 'cancel') {
			submitform1( pressbutton );
			return;
		}

		if (form.username.value == "-- 用户名 --"){
			alert(  "'$text.base.username'$text.could_not_be_empty." );
		}		
		/*
		else  if (form.username.value.length < 6){
			alert(  "'$text.base.username'$text.length_gt_6." );
		}	
		*/
		else{
			submitform1( pressbutton );
		}
	}
</script>
<form  name="adminForm1" method="post" action="/module/community/query/member.do">
<table cellspacing="4" cellpadding="0">
	<tr>
		<td class="lessrt">
			<bean:message key="base.14"/>
		</td>
	</tr>
	<tr>
		<td align="left">		
<input type="text" name="username" size="20"  value="-- <bean:message key="community.username" /> --"
			onfocus="if(value=='-- <bean:message key="community.username" /> --') {value=''}" 
			onblur="if(value=='') {value='-- <bean:message key="community.username" /> --'}"
					/>
						</td>
	</tr>
<tr>
		<td align="left">
<select name="targetlang">
						<option value="" selected><bean:message key="head.07" /></option>
					<%
						java.util.List list = MemObjFactory.getSysLanguageList(sessionLocale);
						for(int i=0;i<list.size();i++){
						    ISelectOption vbean = (ISelectOption)list.get(i);
						    out.println("<option value='"+vbean.getValue()+"'>");
						    out.print(vbean.getName() + "</option>");
						}
					%>
					</select>
						</td>
	</tr>
<tr>
		<td align="left">
					  <select name="interest">
<option value="" selected><bean:message key="community.interest" /></option>
						
					<%
						java.util.List list1 = MemObjFactory.getDict("interest",sessionLocale.toString());
						for(int i=0;i<list1.size();i++){
						    ISelectOption vbean = (ISelectOption)list1.get(i);
						    out.println("<option value='"+vbean.getValue()+"'>");
						    out.print(vbean.getName() + "</option>");
						}
					%>						
					</select>&nbsp;<input class="rinput" onclick="javascript:submitbutton1('show');" type=button value="<bean:message 
		  key="base.03" />">

<input name="task" value="show" type="hidden">
						</td>
	</tr>
	<tr>
		<td align="left"><br>
	<script type="text/javascript"><!--
google_ad_client = "pub-6007578250513537";
/* 160x600, 创建于 08-5-13 */
google_ad_slot = "8267270786";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
		</td>
	</tr>
</table>

</form>